package com.cloudeye.im.easemob;

import com.easemob.im.server.api.Context;
import com.easemob.im.server.api.group.GroupApi;
import reactor.core.publisher.Mono;

/**
 * @Author: lafangyuan
 * @Date: 2021/11/1 11:13
 */
public class EaseMobGroupApi extends GroupApi {

    private EaseMobGreateGroup createGroup;

    public EaseMobGroupApi(Context context) {
        super(context);
        this.createGroup = new EaseMobGreateGroup(context);
    }
    public Mono<String> group(EaseMobCreateGroupRequest groupRequest){
        return this.createGroup.group(groupRequest);
    }
}
